﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;

public partial class CSharp : System.Web.UI.Page
{
    public string csharpContent = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        string url= this.Request.QueryString["url"];
        string fileName= Server.MapPath(url);
        if (File.Exists(fileName))
        {
            using (StreamReader sr = new StreamReader(fileName))
            {
                csharpContent = sr.ReadToEnd();
            }
        }
    }
}